import service from "../utils/request";

// export function getFlowData(data) {
//   return service({
//     url: `/template/getPageData`,
//     method: "get",
//     params: data,
//   });
// }

export function uploadImg(fromData) {
  return service({
    url: `/upload/img`,
    method: "post",
    data: fromData,
    headers: {"Content-Type":"multipart/form-data"}
  });
}
